<%@ page import="com.neuedu.entity.Dept" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    Dept dept = (Dept) request.getAttribute("dept");

%>
<h3>MVC添加</h3>
  <form action='<%=request.getContextPath()%>/dept' method='post'>
          <input type='hidden' name='_type' value='update'/>
          deptno:<input type='text' name='deptno' value="<%=dept.getDeptno()%>"> <br>
          deptno:<input type='text' name='dname' value="<%=dept.getDname()%>"> <br>
          deptno:<input type='text' name='loc' value="<%=dept.getLoc()%>"> <br>

          <input type='submit' value='修改' />
                                                           
      </form>                                              

</body>
</html>
